package com.yiang.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "user-service")
@Component
public interface UserClient {

    @GetMapping("/getUser")
    String getUser();
}
